#! /bin/bash

# Filename: pyexe.sh 2016-07-11
# Author: Huoty <sudohuoty@gmail.com>
# Script starts from here:

if [ $# -eq 0 ]; then
    echo "Usage:  pyexe python_file"
    exit 0
fi  

if pylint --rcfile /etc/pylint.conf $*; then
   python $*
fi 

exit 0

